home *** CD-ROM | disk | FTP | other *** search
/ ftp.cs.arizona.edu / ftp.cs.arizona.edu.tar / ftp.cs.arizona.edu / icon / newsgrp / group92c.txt / 000016_icon-group-sender _Mon Oct 12 14:08:17 1992.msg < prev    next >
Internet Message Format  |  1993-01-04  |  1KB

  1. Received: by cheltenham.cs.arizona.edu; Wed, 14 Oct 1992 04:08:06 MST
  2. Date: 12 Oct 92 14:08:17 GMT
  3. From: cis.ohio-state.edu!pacific.mps.ohio-state.edu!linac!uchinews!ellis!goer@ucbvax.Berkeley.EDU  (Richard L. Goerwitz)
  4. Organization: University of Chicago Computing Organizations
  5. Subject: confusing errors
  6. Message-Id: <1992Oct12.140817.25199@midway.uchicago.edu>
  7. Sender: icon-group-request@cs.arizona.edu
  8. To: icon-group@cs.arizona.edu
  9. Status: R
  10. Errors-To: icon-group-errors@cs.arizona.edu
  11.  
  12.  
  13. Hmmm.  Anybody know offhand why the Icon translator should accept the
  14. following file...
  15.  
  16.     link sprint
  17.     global run
  18.     record walk ( crawl )
  19.     procedure main () ; end
  20.  
  21. ...but barf on this:
  22.  
  23.     link sprint ; global run ; record walk ( crawl ) ; procedure main () ; end
  24.  
  25. I guess I thought that reserved were initially parsed as identifiers, and
  26. then converted to reserved words by a table lookup process.  That would
  27. make them able to begin and end expressions.  Hence you'd expect automatic
  28. semicolon insertion after things like "link sprint" - right?  I'm probably
  29. missing something silly, but I'm curious what it is.
  30.  
  31. -- 
  32.  
  33.    -Richard L. Goerwitz              goer%midway@uchicago.bitnet
  34.    goer@midway.uchicago.edu          rutgers!oddjob!ellis!goer
  35.